interface tableTypes {
  brand: '护肤品', 
  product_code: '131313541',
  product_name: '产品名称',
  selling_price: '8.00', 
  purchase_quantity: 66,  
  purchase_price: '16.00',
  text: '备注'
}

export const _TableData = [
  { 
    brand: '护肤品', 
    product_code: '131313541',
    product_name: '产品名称',
    selling_price: '8.00', 
    purchase_quantity: 66,  
    purchase_price: '16.00',
    text: '备注'
  },
  { 
    brand: '护肤品', 
    product_code: '131313541',
    product_name: '产品名称',
    selling_price: '8.00', 
    purchase_quantity: 66,  
    purchase_price: '16.00',
    text: '备注'
  },
  { 
    brand: '护肤品', 
    product_code: '131313541',
    product_name: '产品名称',
    selling_price: '8.00', 
    purchase_quantity: 66,  
    purchase_price: '16.00',
    text: '备注'
  },
]
export const _TableData_add = (i: number)=>{
  _TableData.push(_TableData[i])
}

export const _TableData_remove = (i: number)=>{
  _TableData.splice(i, 1)
}